home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Graphics / Utilities / Plug-in Digitizer 1.1 ƒ / READ ME.txt < prev   
Text File  |  1994-03-23  |  12KB  |  212 lines

  1.  
  2.                                                                                     ‘Plug-in Digitizer’ v1.1
  3.  
  4.  
  5. The ‘Plug-in Digitizer’ is a plug-in acquisition module for Adobe™ ‘Photoshop’, ‘NIH-Image’ or similar applications.  It allows these applications to grab images from Quicktime™ compatible digitizer sources which provide a 'vdig' component.  It will handle full 24-bit capture with suitable applications.  It now has a ‘faceless’ operation mode that requires no user interaction, allowing time-lapse image grabbing with suitable applications.
  6.  
  7. INSTALLATION
  8.  
  9. NIH-Image:
  10.     Place  the ‘Plug-in Digitizer’ file in the ‘Plug-ins’ folder which should be located in the same folder as the ‘NIH-Image’ application.
  11.  
  12. Photoshop:
  13.     If there is a ‘Plug-ins’ folder in the same folder as your ‘Photoshop’ application then place the ‘Plug-in Digitizer’ file in the ‘Plug-ins’ folder.  Otherwise place it in the same folder as your ‘PS Prefs’ file which is the Photoshop preferences file.  Note, the location of plug-ins for different versions of ‘Photoshop’ appears to vary, please consult your ‘Photoshop’ documentation if the above procedures do not work.
  14.  
  15. Others:
  16.     Follow the instructions given with your application for the installation of acquisition plug-in modules.
  17.  
  18.  
  19. USE
  20.  
  21. Starting:
  22.     Launch the application.  Select the ‘Plug-in Digitizer’ from the ‘Acquire’ sub-menu.  The plug-in's window will then appear.  The default video grabber component will be selected so that a video image is displayed in the plug-in's window.  If there is no Quicktime compatible digitizer component available on your computer then an error message will occur.
  23.  
  24. Window sizes:
  25.     The size of the video window can be adjusted by using the set of three radio buttons located on the left side of the plug-in's window under the title ‘View’.  These allow selection of full size, half size and quarter size video images.  The default is to start up at half size.  Since the plug-in will not let you display a video image that is bigger than the screen, some size buttons may be dimmed depending on which sizes are too big for the screen.  For the extreme case where the quarter size view is bigger than the screen, an error message will occur and no video will be displayed.
  26.      The plug-in's window can be dragged by its title bar to any location on the screen.  However, if any part of the video image is off-screen the plug-in cannot capture a video frame and an error message will occur if you attempt to do so.  To correct this drag the window so that the whole video image is on screen, and try capturing again.
  27.      Note that the size buttons are disabled whenever the video is frozen.  To change size restart the video with the ‘Live’ button to re-enable the size buttons.
  28.  
  29. Digitizer settings:
  30.     The video digitizer component settings can be set by clicking the ‘Settings’ button.  This produces the standard video settings dialog that enables you to configure particular features of your video digitizer card, or to change to a different digitizer if one is available on your machine.  The settings and the plug-in's window position are both saved and restored between calls to the plug-in, provided the calling application does not quit in between calls.
  31.  
  32. Capturing:
  33.     To capture a still from the video image, first select the required video size for the capture using the ‘View’ size buttons.  Then click the ‘Freeze’ button.  The video will then freeze and display the captured image, and the ‘Freeze’ button will change to a ‘Live’ button.  If you are not happy with the captured image then click the ‘Live’ button to restart the video, and then capture a frame again with the ‘Freeze’ button.  Typing a ‘tab’ character on the keyboard has the same effect as clicking the ‘Freeze’/‘Live’ buttons.
  34.  
  35. Exiting:
  36.     To exit from the ‘Plug-in Digitizer’ without returning an image to the calling application, click the ‘Cancel’ button or press the ‘esc’ key on the keyboard.
  37.     To exit from the ‘Plug-in Digitizer’ and to send an image to the calling application click the ‘OK’ button or press the ‘return’ key on the keyboard.  If the video is frozen, then the frozen frame is sent to the application.  If the video is live at the time of exit, it will freeze and send the image to the calling application in one operation.
  38.  
  39. Options:
  40.     Clicking the ‘Options’ button will bring-up a dialog box that allows various special operating features to be configured:
  41.  
  42. * ‘Faceless Operation’:
  43.     If the ‘Faceless operation’ checkbox is checked, then when the ‘Plug-in Digitizer’ is next called from the host application it will use the current settings and automatically return an image without the need for user interaction.  This facility is useful for time-lapse image grabbing.  To cancel ‘Faceless operation’ hold down the ‘option’ key on the keyboard when selecting the plug-in from the application’s ‘Acquire’ menu, and uncheck the ‘Faceless operation’ checkbox in the ‘Options’ dialog box.
  44.     Note that there is a slight delay between calling the plug-in and the return of the captured image.  The length of this delay will vary depending on the model of computer the plug-in is executing on.  The maximum achievable frame rate will therefore depend on the computer used, but it is likely to be about 1-2 secs per frame.
  45.     If an error occurs during a faceless operation an error dialog box will appear and this will require user interaction to cancel it and correct the indicated problem.
  46.     Remember to give the host application a sufficient memory allocation to store all the images to be grabbed.  
  47.  
  48. * There are currently no other special operating features that can be configured from the ‘Options’ dialog box.
  49.  
  50. About:
  51.     Clicking the ‘About…’ button will bring-up a window displaying a copy of the instructions from this ‘Read Me’ file.
  52.  
  53.  
  54. NOTES
  55.  
  56.     In some circumstances the buttons on the left of the plug-in's window will move closer to the left-hand side of the window when particular video sizes are chosen.  This ensures that as much of the full screen area can be used to display the video so that for example, full-frame PAL video can be displayed on a 16" colour monitor.
  57.     When using ‘NIH-Image’ you must choose a suitable LUT before selecting the plug-in acquisition module.  If you are grabbing a greyscale image from a greyscale source then use the ‘Greyscale’ option.  Otherwise if you are grabbing a colour image from a colour source then select the colour ‘System’ palette.  If you try to capture a greyscale source with the colour ‘System’ palette then the grey levels will be converted to the available greys in the palette giving less than 16 shades of grey.
  58.     When using ‘Photoshop’ to grab greyscale images you must set your monitor to ‘Greys’ by using the ‘Monitors’ Control Panel.  When grabbing colour images leave the monitor set to ‘Colours’.
  59.     When using ‘NIH-Image’ a simple macro can be used to start the ‘Plug-in Digitizer’ with a simple key-press.  For example:
  60.  
  61.  macro 'Acquire Video [A]';
  62.    begin
  63.       Acquire('Plug-in Digitizer');
  64.    end;
  65.  
  66. To produce a time-lapse sequence first select the ‘Plug-in Digitizer’ from the ‘Acquire’ menu and configure its settings to those required for the images to be grabbed.  Check the ‘Faceless operation’ checkbox in the ‘Options’ dialog box.  Use this simple macro example to grab 10 images with an interval of  5 seconds (plus the delay for the capture of an image) between each:
  67.  
  68.  macro 'Acquire Time-lapse Video [B]';
  69.    var
  70.        number,count : integer;
  71.        delaySecs : real;
  72.    begin
  73.       number := 10;
  74.       delaySecs := 5;
  75.       for count := 1 to number do
  76.          begin
  77.             Acquire('Plug-in Digitizer');
  78.             wait(delaySecs);
  79.          end;
  80.    end;
  81.  
  82. A more complex macro that saves the sequence of images to disk is given below.  Note that this example requires version 1.55 of NIH-Image, and the example is courtesy of NIH-Image’s author Wayne Rasband.
  83.  
  84. macro 'Make AV Movie to Disk';
  85. {
  86. Captures images using 'Plug-in Digitizer' and saves
  87. them to disk.  Abort at any time by pressing the mouse button.
  88. }
  89. var
  90.     nFrames,n:integer;
  91.     interval,StartTicks,EndTicks:integer;
  92.     time:real;
  93.     path:string;
  94. begin
  95.     Requiresversion(1.55);
  96.     path := GetString('Folder path:','MyHD:movie');
  97.     nFrames := GetNumber('Number of Frames?',10);
  98.     time := GetNumber('Delay Between Frames (seconds)?',60.0);
  99.     interval := round(time*60);
  100.     StartTicks := TickCount;
  101.     EndTicks := TickCount+interval;
  102.     for n := 1 to nFrames do
  103.     begin
  104.         time := (TickCount-StartTicks)/60;
  105.         ShowMessage(n:3,'   ',time:4:2);
  106.         Acquire('Plug-in Digitizer');
  107.         MoveTo(2,12);
  108.         SetFontSize(12);
  109.         SetForegroundColor(255);
  110.         write(n:3,'   ',time:4:2);
  111.         SaveAs(path,':Frame ',n);
  112.         Dispose;
  113.         while TickCount < EndTicks do
  114.         begin
  115.             if button then exit;
  116.         end;
  117.         EndTicks := EndTicks+interval;
  118.     end;
  119. end;
  120.  
  121. See the ‘NIH-Image’ manual for more details of programming macros.
  122.  
  123.  
  124. RELEASE NOTES
  125.  
  126. ______________________
  127. v1.0 - 28/01/94
  128.  
  129. - First full release
  130.  
  131. ______________________
  132. v1.0.1 - 08/02/94
  133.  
  134. - First bug fix release
  135.  
  136. - Fixed bug in which compression settings were not saved and restored between calls to the plug-in.
  137.  
  138. - Fixed bug where garbled image was returned in 24-bit addressing mode.
  139.  
  140. - Fixed bug so that it works with Quicktime 1.5 as well as 1.6.
  141.  
  142. - Full VideoSpigot PAL can now be displayed on 16" monitors.
  143.  
  144. - Can capture 16/32-bit per pixel colour images.
  145.  
  146. - Checks for availability of Quicktime.
  147.  
  148. - Now displays the version number in the logo.
  149.  
  150. - Changed name to US spelling "digitizer" instead of UK spelling "digitiser"!
  151.  
  152. ______________________
  153. v1.0.2 - 15/03/94
  154.  
  155. - Second bug fix release
  156.  
  157. - When resized the centre of the window remains fixed - previously the top-left corner was fixed.  The top-left corner will be adjusted to always keep it on-screen when resizing.
  158.  
  159. ______________________
  160. v1.1 - 23/03/94
  161.  
  162. - First minor upgrade
  163.  
  164. - Added faceless operation mode to allow time-lapse image grabbing (by popular demand).
  165.  
  166. ______________________
  167.  
  168. KNOWN PROBLEMS:
  169.  
  170. - Does not allow capture at sizes other than displayed video size.
  171.  
  172. - Switching between colour/greyscale capture is still awkward.
  173.  
  174. - Settings dialog sometimes does not display live video.
  175.  
  176. - Memory usage needs to be fine tuned.
  177.  
  178. - Greyscale setting from ‘AV Options’ panel cannot be restored.
  179.  
  180. ______________________
  181.  
  182. FUTURE ENHANCEMENTS:
  183.  
  184. - Grabbing at a different size from the one displayed (ie 14" colour monitor owners should be able to grab a full-sized frame of PAL or NTSC).
  185.  
  186. - Please send your own suggestions for future enhancements to the author.
  187.  
  188. ______________________
  189.  
  190. ACKNOWLEDGEMENTS
  191.  
  192. Thanks to Nick Safford, Colin Ager and Wayne Rasband (author of ‘NIH-Image’) for beta-testing and suggestions.
  193.  
  194. ______________________
  195.  
  196. LICENSE
  197.  
  198. This software is © Cyrus Daboo.  This software is Freeware for personal and academic use.  It may be freely distributed provided this ‘Read Me’ file accompanies the plug-in.  Commercial users may try out this software for 30 days after which a Shareware fee of $15 per copy will be payable for continued use.  Users wishing to include it with their own commercial products must negotiate a fee with the author.  Please send Shareware fees to the address below - an invoice will be provided on request.
  199.  
  200. ______________________
  201.  
  202. BUGS
  203.  
  204. Please report all bugs to Cyrus Daboo:
  205.  
  206. mail:       Cyrus Daboo,
  207.                64 Mulberry Close,
  208.                Cambridge,
  209.                UK. CB4 2AS
  210.  
  211. phone:     +44 223 328240
  212. e-mail:    cd102@phy.cam.ac.uk